package com.aioething.iot.dao;

import com.aioething.iot.dto.EquipmentDto;
import com.aioething.iot.model.Equipment;
import com.aioething.iot.vo.EquipmentVo;

import java.util.List;

public interface EquipmentDao {
    int insertSelective(Equipment equipment);
    int deleteByPrimaryKey(String equipmentId);
    Equipment selectByPrimaryKey(String equipmentId);
    int updateByPrimaryKeySelective(Equipment equipment);
    List<EquipmentVo> query(EquipmentDto equipmentDto);
}
